<head>
	<head>
		<style type="text/css">
		   .block1 { 
			    width: 200px; 
			    background: #ccc;
			    padding: 5px;
			    padding-right: 20px; 
			    border: solid 2px white; 
		   }
  		</style> 
	</head>
	<body>

		{% for m in msgs %}
			<div  class="block1"><p align="center"> {{ m.mstr }} </p></div>
		{% endfor%}


		<div>
			<form action="/myform" method="post">
				<div>
					<textarea name="mesg" rows="3" cols="60"></textarea>
				</div>

				<div>
					<input type="submit" value="Send message">
				</div>		
			</form>
		<div>
	</body>
</head>